.class Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;
.super Ljava/lang/Thread;
.source "ShowColumnInMore.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/ShowColumnInMore$3;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    .line 782
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 8

    .prologue
    const/16 v4, 0x14

    .line 786
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v0

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$12(Lcom/netease/newsreader/activity/ShowColumnInMore;)I

    move-result v1

    add-int/lit8 v1, v1, 0x14

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$13(Lcom/netease/newsreader/activity/ShowColumnInMore;I)V

    .line 787
    new-instance v7, Ljava/util/ArrayList;

    invoke-direct {v7}, Ljava/util/ArrayList;-><init>()V

    .line 788
    .local v7, tmpData:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v0

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$23(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/lang/String;

    move-result-object v0

    const-string v1, "1"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 789
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v0

    .line 790
    const-string v1, "http://c.3g.163.com/nc/article/headline/"

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v2

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$4(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v3

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$12(Lcom/netease/newsreader/activity/ShowColumnInMore;)I

    move-result v3

    .line 789
    invoke-static {v0, v1, v2, v3, v4}, Lcom/netease/newsreader/rss/GetColumnsInfo;->getHeadlineArticleList(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;II)Ljava/util/List;

    move-result-object v0

    invoke-virtual {v7, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    .line 803
    :goto_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v0

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$6(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/os/Handler;

    move-result-object v0

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object v6

    .line 804
    .local v6, msg:Landroid/os/Message;
    iput-object v7, v6, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 805
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v0

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$6(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/os/Handler;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 807
    return-void

    .line 793
    .end local v6           #msg:Landroid/os/Message;
    :cond_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v0

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$24(Lcom/netease/newsreader/activity/ShowColumnInMore;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 795
    const-string v0, "http://c.3g.163.com/nc/article/local/"

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v1

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$4(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v3

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$12(Lcom/netease/newsreader/activity/ShowColumnInMore;)I

    move-result v3

    .line 796
    iget-object v5, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v5}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v5

    .line 794
    invoke-static/range {v0 .. v5}, Lcom/netease/newsreader/rss/GetColumnsInfo;->getArticleList(Ljava/lang/String;Ljava/lang/String;ZIILandroid/content/Context;)Ljava/util/List;

    move-result-object v0

    invoke-virtual {v7, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    goto :goto_0

    .line 799
    :cond_1
    const-string v0, "http://c.3g.163.com/nc/article/list/"

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v1

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$4(Lcom/netease/newsreader/activity/ShowColumnInMore;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v2

    invoke-static {v2}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$12(Lcom/netease/newsreader/activity/ShowColumnInMore;)I

    move-result v2

    .line 800
    iget-object v3, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$3$1;->this$1:Lcom/netease/newsreader/activity/ShowColumnInMore$3;

    invoke-static {v3}, Lcom/netease/newsreader/activity/ShowColumnInMore$3;->access$0(Lcom/netease/newsreader/activity/ShowColumnInMore$3;)Lcom/netease/newsreader/activity/ShowColumnInMore;

    move-result-object v3

    .line 798
    invoke-static {v0, v1, v2, v4, v3}, Lcom/netease/newsreader/rss/GetColumnsInfo;->getArticleList(Ljava/lang/String;Ljava/lang/String;IILandroid/content/Context;)Ljava/util/List;

    move-result-object v0

    invoke-virtual {v7, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    goto :goto_0
.end method
